dimension of a quantity